#ifndef QDIALOGLOCATE_H
#define QDIALOGLOCATE_H

#include <QDialog>

namespace Ui {
class QDialogLocate;
}

class QDialogLocate : public QDialog
{
    Q_OBJECT

public:
    explicit QDialogLocate(QWidget *parent = nullptr);
    ~QDialogLocate();

    void setRange(int rows, int cols);
    void setValue(int row, int col);
protected:
   void closeEvent(QCloseEvent* event) override;

signals:
   void changeCellText(int row, int column, QString text);

private slots:
    void on_btnSetText_clicked();

private:
    Ui::QDialogLocate *ui;
};

#endif // QDIALOGLOCATE_H
